﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
         CodeBehind="GroupDetails.aspx.cs" Inherits="SARS.Course.Group.GroupDetails" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h1 id="lblHeading" class="heading1Title">
        <b>GROUP
            <asp:Label runat="server" ID="hdlabel"></asp:Label>&nbsp;Detail</b>
    </h1>
    <asp:Panel ID="Panel1" runat="server" Direction="LeftToRight">
        <table>
            <tr>
                <td class="leftLabel">
                    Group Name:
                </td>
                <td>
                    <asp:Label runat="server" ID="lblGroupName"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="leftLabel">
                    Course Name:
                </td>
                <td>
                    <asp:Label runat="server" ID="lbGroupCourse"></asp:Label>
                </td>
            </tr>
            
            <tr>
                <td class="leftLabel">
                    Current Group&#39;s Tutorial:
                </td>
                <td>
                    <asp:GridView ID="gvGroupTutor" runat="server" CellPadding="4" ForeColor="#333333"
                                  GridLines="None" Width="580px" AutoGenerateColumns="False">
                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                        <Columns>
                            <asp:BoundField DataField="UserID" HeaderText="ID">
                                <HeaderStyle HorizontalAlign="Center" Width="25px" />
                                <ItemStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:BoundField DataField="FullName" HeaderText="Tutor Name">
                                <HeaderStyle HorizontalAlign="Left" />
                                <ItemStyle HorizontalAlign="Left" />
                            </asp:BoundField>
                            <asp:BoundField DataField="UserName" HeaderText="Tutor Account">
                                <HeaderStyle HorizontalAlign="Left" />
                                <ItemStyle HorizontalAlign="Left" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Email" HeaderText="Tutor Email">
                                <HeaderStyle HorizontalAlign="Left" />
                                <ItemStyle HorizontalAlign="Left" />
                            </asp:BoundField>
                        </Columns>
                        <EditRowStyle BackColor="#999999" />
                        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                        <SortedAscendingCellStyle BackColor="#E9E7E2" />
                        <SortedAscendingHeaderStyle BackColor="#506C8C" />
                        <SortedDescendingCellStyle BackColor="#FFFDF8" />
                        <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                    </asp:GridView>
                </td>
            </tr>
            <tr >
                <td colspan="2" align="center">
                    <asp:Button runat="server" ID="btnEdit" OnClick="btnEdit_OnClick" Text="Edit" Width="120px"/>&nbsp;
                    <asp:Button runat="server" ID="btnBackGroup" OnClick="btnBackGroup_OnClick" Text="Back to Group" Width="120px"/>
                </td>
            </tr>
        </table>
    </asp:Panel>
</asp:Content>